#pragma once

#include <cstdint>
#include <string>
#include <set>

#include "2100_agency_event.pb.h"

struct stAgencyEvent
{
	std::uint32_t agency_id;
	std::string call_url;
	std::set<std::uint32_t> gamelist;
	std::int32_t state = 0; // 0:未启用,1:启用,2:停用
	std::string ext;
	std::int64_t currency_unit_multi=0;
	std::string currency;
	std::string agency_name;

    void CopyFrom(const agency_event_proto::AgencyEvent& agency);
    void CopyTo(agency_event_proto::AgencyEvent& agency) const;

	stAgencyEvent& operator = (const stAgencyEvent& that);
	stAgencyEvent& operator = (stAgencyEvent&& that);

	std::string ToString() const;
};





